//
//  CardInfoTableViewCell.h
//  QRMaster
//
//  Created by myApple on 15/6/16.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^cellIndex)(int index);

@class CardInfoTableViewCell;

@protocol CardInfoTableViewCellDelegate <NSObject>

-(void)sendControllerHavePan:(NSInteger)count cellView:(UIView *)addView;

-(void)closeSwipeView;

-(void)sendControllerClickFaverit:(int)cellIndex cardInfoCell:(CardInfoTableViewCell *)clickCell;

-(void)sendShowTimeClick:(NSString *)roomid;

@end

@interface CardInfoTableViewCell : UITableViewCell

@property(nonatomic,copy)NSString * leftImgView;

@property(nonatomic,copy)NSString * communityid;//收藏时需要纪录

@property(nonatomic,copy)NSString * roomName;

@property(nonatomic,copy)NSString * bulidingName;

@property(nonatomic,copy)NSString * floorName;

@property(nonatomic,copy)NSString * bulidingId;

@property(nonatomic,copy)NSString * floorId;

@property(nonatomic,copy)NSString * roomId;

@property(nonatomic,assign)int Index;

@property(nonatomic,assign)id<CardInfoTableViewCellDelegate>delegate;

@property(nonatomic,copy)cellIndex faveritCell;

@property(nonatomic,retain)UIImageView * faveritImgView;//收藏图片

@property(nonatomic,retain)UIImageView * timeImgView;//时间图片

@property(nonatomic,assign)BOOL reloadView;//当点击cell的时候把左滑置为0

@property(nonatomic,assign)NSInteger cardStyle;

@end
